package com.example.chirdrenserver.confg;


import com.example.chirdrenserver.Service.SystemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import java.util.List;

/**
 * @Author: Yu
 * @CreateTime: 2025-07-04
 * @Description:
 */
@Configuration
public class SystemConfig {
    @Autowired
    private SystemService systemService;
    @Bean
    public List<com.example.chirdrenserver.Pojo.entity.SystemConfig> getSystem() {return systemService.list();}
}
